package com.itheima.reggie.service;

import com.itheima.reggie.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    List<ShoppingCart> cartList(Long id);

    ShoppingCart addCart(ShoppingCart shoppingCart);

    void clearCart(Long userId);

    ShoppingCart updateCart(ShoppingCart shoppingCart);
}
